﻿@{
    Layout = null;
}
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <title>供应链管理系统-@ViewBag.Title</title>
    <meta name="keywords" content="供应链管理系统">
    <meta name="description" content="供应链管理系统">
    <meta name="robots" content="noindex,nofollow">
    <link id="colorfile" href="~/resources/skin/blue.css" rel="stylesheet">
    <link href="~/resources/My97DatePicker/skin/twoer/datepicker.css" rel="stylesheet" />

    <script type="text/javascript" src="~/resources/js/jquery.min.js?v=2.1.4"></script>
    <script type="text/javascript" src="~/resources/script/configBase.js"></script>
    <script type="text/javascript" src="~/resources/script/json2.js"></script>
    <script type="text/javascript" src="~/resources/script/jquery.form.js"></script>
    <script type="text/javascript" src="~/resources/script/engine.js"></script>
    <script type="text/javascript" src="~/resources/script/menu.js"></script>
    <script type="text/javascript" src="~/resources/script/Pager.js"></script>
    <script type="text/javascript" src="~/resources/script/common.js"></script>
    <script type="text/javascript" src="~/resources/script/artTemplate/template.js"></script>
    <script type="text/javascript" src="~/resources/umeditor/ueditor.config.js"></script>
    <script type="text/javascript" src="~/resources/My97DatePicker/WdatePicker.js"></script>

    <script type="text/javascript" src="~/resources/script/linq.min.js"></script>
    <script type="text/javascript" src="~/resources/script/addListCtrol.js"></script>
    <script>
        template.helper('dateFormat', function (date, format) {
            if (date == null) {
                return "";
            }

            var tempStrs = date.split(" ");
            var dateStrs = tempStrs[0].split("-");
            var year = parseInt(dateStrs[0], 10);
            var month = parseInt(dateStrs[1], 10) - 1;
            var day = parseInt(dateStrs[2], 10);
            var timeStrs = tempStrs[1].split(":");
            var hour = parseInt(timeStrs[0], 10);
            var minute = parseInt(timeStrs[1], 10);
            var second = parseInt(timeStrs[2], 10);
            var date = new Date(year, month, day, hour, minute, second);
            var map = {
                "M": date.getMonth() + 1, //月份
                "d": date.getDate(), //日
                "h": date.getHours(), //小时
                "m": date.getMinutes(), //分
                "s": date.getSeconds(), //秒
                "q": Math.floor((date.getMonth() + 3) / 3), //季度
                "S": date.getMilliseconds() //毫秒
            };
            format = format.replace(/([yMdhmsqS])+/g, function (all, t) {
                var v = map[t];
                if (v !== undefined) {
                    if (all.length > 1) {
                        v = '0' + v;
                        v = v.substr(v.length - 2);
                    }
                    return v;
                }
                else if (t === 'y') {
                    return (date.getFullYear() + '').substr(4 - all.length);
                }
                return all;
            });
            return format;
        });
    </script>
</head>
<body>
    <!--提示信息框-->
    <div class="msg"></div>
    @RenderBody()
</body>
</html>
